projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efeade2
)
configure.ac: Use AC_PREPROC_IFELSE instead deprecated AC_TRY_CPP
author
Javier Jardón
<jjardon@gnome.org>
Sun, 6 Feb 2011 22:26:02 +0000
(22:26 +0000)
committer
Javier Jardón
<jjardon@gnome.org>
Sun, 13 Feb 2011 11:10:23 +0000
(11:10 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index c29d973b999cf61ab10ec5512251949f3b5e139d..dd99c9bc7fe0fd91734b13ff5f1a5053f0ddae78 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-727,7
+727,8
@@
fi
# Check for uxtheme.h (for MS-Windows Engine)
AC_MSG_CHECKING(for uxtheme.h)
-AC_TRY_CPP([#include <uxtheme.h>], gtk_uxtheme_h=yes, gtk_uxtheme_h=no)
+AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <uxtheme.h>]])],
+ [gtk_uxtheme_h=yes], [gtk_uxtheme_h=no])
if test $gtk_uxtheme_h = yes; then
AC_DEFINE(HAVE_UXTHEME_H, 1, [Have uxtheme.h include file])
fi